<div class="modal-header">
	<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
	<h4 class="modal-title">权限设置</h4>
</div>
<div class="modal-body">
	<div class="row">
		<div class="col-md-12">
		<span>游戏：</span>
			<?php if($this->session->userdata('games')):?>
			<?php foreach(unserialize($this->session->userdata('games')) as $game):?>
				<label for="bigzone_2">
				<input type="checkbox" id="bigzone_2" name="bigzone[]" value="0002" style="margin-left:5px;" checked=""><?php echo $game['game_name'];?>			
			</label>		
			<?php endforeach;?>
		<?php endif;?>										
		</div>
	</div>
	<div class="row">
		<div class="col-md-12">
		<span>合作方：</span>
			<?php if($this->session->userdata('partners')):?>
			<?php foreach(unserialize($this->session->userdata('partners')) as $partner):?>
			<label for="bigzone_2">
				<input type="checkbox" id="bigzone_2" name="bigzone[]" value="0002" style="margin-left:5px;" checked=""><?php echo $partner['partner_name'];?>			
			</label>		
			<?php endforeach;?>
		<?php endif;?>											
		</div>
	</div>
	<div class="row">
		<div class="col-md-12">
		<span>渠道：</span>	
			<?php foreach($channels as $channel):?>
				<label for="bigzone_2">
					<input type="checkbox" id="bigzone_2" name="bigzone[]" value="0002" style="margin-left:5px;" checked=""><?php echo 	$channel['channel_name'];?>			
				</label>
			<?php endforeach;?>
	
		</div>
	</div>
</div>
<div class="modal-footer">
	<button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
	<button type="button" class="btn btn-primary">保存设置</button>
</div>